<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html">
    <h:head>
        <title>nav</title>
    </h:head>
    <h:body>
        <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <div class="container-fluid">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <div class="navbar-brand" >
                        <span >
                            <h:graphicImage library="img" name="logo.jpg" height="32" width="32" class="img-circle"/>        
                            山阁
                        </span>                        
                    </div>
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav navbar-right">
                        <li><a id="sg_nav_share" style="cursor:pointer; display: #{navMgr.btnDisplay_share}">分享</a></li>
                        <li><a data-toggle="modal" style="display: #{navMgr.btnDisplay_logon}" href="#logonModal">登录</a></li>
                        <li><a style="display: #{navMgr.btnDisplay_userName}">#{navMgr.userName}</a></li>
                    </ul>

                </div>
            </div>
        </div>

        <ui:include src="/views/comps/logon/logonDlg.xhtml"/>
    </h:body>
</html>

